<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>拟态化风格计算器</title>
    <link rel="stylesheet" href="style.css">
    <link rel="icon" href="./img/hinata.gif" type="image/gif">
</head>

<body>
    <div id="app">
        <div class="calculator">
            <div class="result" style="grid-area: result;">
                {{ equation }}
            </div>
            <button @click="clear" style="grid-area: ac;">AC</button>
            <button @click="calculateToggle" style="grid-area: plus-minus;">±</button>
            <button @click="calculatePercent" style="grid-area: percent;">%</button>
            <button @click="append('+')" style="grid-area: add;">+</button>
            <button @click="append('-')" style="grid-area: subtract;">-</button>
            <button @click="append('×')" style="grid-area: multiply;">×</button>
            <button @click="append('÷')" style="grid-area: divide;">÷</button>
            <button @click="calculate" style="grid-area: equal;">=</button>
            <button @click="append(1)" style="grid-area: number-1;">1</button>
            <button @click="append(2)" style="grid-area: number-2;">2</button>
            <button @click="append(3)" style="grid-area: number-3;">3</button>
            <button @click="append(4)" style="grid-area: number-4;">4</button>
            <button @click="append(5)" style="grid-area: number-5;">5</button>
            <button @click="append(6)" style="grid-area: number-6;">6</button>
            <button @click="append(7)" style="grid-area: number-7;">7</button>
            <button @click="append(8)" style="grid-area: number-8;">8</button>
            <button @click="append(9)" style="grid-area: number-9;">9</button>
            <button @click="append(0)" style="grid-area: number-0;">0</button>
            <button @click="append('.')" style="grid-area: dot;">.</button>
        </div>
    </div>
    <script src="./vue.js"></script>
    <script src="./script.js" />
    </body>
  
</html>